package com.zhan.utils.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.Set;

/**
 * @author baishangbing
 * @date 2019/12/19 9:51
 */
@EqualsAndHashCode(callSuper = false)
@Data
@Builder
public class SysMessageDto extends BaseEntity implements java.io.Serializable {
    @ApiModelProperty("消息内容")
    private String content;
    @ApiModelProperty("是否已读  0-未读  1-已读")
    private Integer hasRead = 0;
    @ApiModelProperty("阅读时间")
    private Date readTime;
    @ApiModelProperty("员工id")
    private Long empId;
    @ApiModelProperty("员工id集合")
    private Set<Long> empIds;
    /**
     * @see cn.com.chinatelecom.callcenter.utils.Constants.MessageType
     */
    @ApiModelProperty("消息类型 ")
    private Integer type;
    @ApiModelProperty("消息内容id")
    private Long objId;
    /**
     * @see cn.com.chinatelecom.callcenter.utils.Constants.MessageSkipType
     */
    @ApiModelProperty("跳转类型")
    private Integer skipType;
    @ApiModelProperty("事件触发时间")
    private Date happenTime;
}
